package com.xxl.sso.server.core.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import java.time.LocalDateTime;

/**
 * @author xuxueli 2018-03-22 23:51:51
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "tb_user")
public class UserInfo {
    @Column(name = "id")
    @Id
    private Integer userid;
    private String username;
    private String password;
    private LocalDateTime created;
    private LocalDateTime updated;

}
